package android.medicalcloud.com.yiapp.yilian.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by wanggenlin on 17-5-18.
 */
public class PatitentModel implements Serializable{

    String id;
    String simpleDescribe;
    String sex;
    String disease;
    String age;
    String name;
    String hasAccessory="";
    @SerializedName("case")
    CaseModel model;

    String describe;

    public String getHasAccessory() {
        return hasAccessory;
    }

    public String getDescribe() {
        return describe;
    }

    public CaseModel getModel() {
        return model;
    }

    public boolean isHasAccessory() {
        return hasAccessory.equals("1");
    }

    public String getId() {
        return id;
    }

    public String getSimpleDescribe() {
        return simpleDescribe;
    }

    public String getSex() {
        return sex;
    }

    public String getDisease() {
        return disease;
    }

    public String getAge() {
        return age;
    }

    public String getName() {
        return name;
    }
}
